<h3><{$smarty.const._MI_OPINION_EDIT}></h3>
<form name='poll_form' id='poll_form' action='index.php' method='post'>
<{$app_ne.hidden}>
<table width='100%' class='outer' cellspacing='1'>
	<tr><th colspan='2'><{$smarty.const._MI_OPINION_EDIT}></th></tr>
	<{if $form.poll_id}>
	<tr valign='top' align='left'><td class='head'><{$smarty.const._MI_OPINION_EDIT_USER}></td><td class='even'><a href='<{$xoops_url}>/userinfo.php?uid=<{$app.editor.uid}>'><{$app.editor.uname}></a></td></tr>
	<{/if}>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="question"}></td>
		<td class='even'><{$form.question}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="description"}></td>
		<td class='even'><{$form.description|nl2br}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="start_time_date"}><br /></td>
		<td class='even'><{$form.start_time_date}>&nbsp;<{$form.start_time_time/3600}>:<{"%02d"|sprintf:$form.start_time_time%60}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="end_time_date"}><br /></td>
		<td class='even'><{$form.end_time_date}>&nbsp;<{$form.end_time_time/3600|intval}>:<{'%02d'|sprintf:$form.end_time_time%60}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="display"}></td>
		<td class='even'><{labelvalue name="display"}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="weight"}></td>
		<td class='even'><{$form.weight}></td></tr>
	<tr valign='top' align='left' style="display:none">
		<td class='head'><{form_name name="multiple"}></td>
		<td class='even'><{labelvalue name="multiple"}></td>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="mail_status"}></td>
		<td class='even'><{labelvalue name="mail_status"}></td>
	<tr valign='top' align='left'>
		<td class='head'><{form_name name="allow_guest"}></td>
		<td class='even'><{labelvalue name="allow_guest"}></td>
	<tr valign='top' align='left'>
		<td class='head'><{$smarty.const._MI_OPINION_ITEMS}></td>
		<td class='even'>
		<ul>
		<{foreach from=$form.option_text item=text key=k name=option}>
		<{if $text}>
			<li><{$text}>&nbsp;
			<img src='<{$xoops_url}>/modules/<{$app.dirname}>/images/colorbars/<{$form.option_color[$k]}>' width='30' height='15'/></li>
		<{/if}>
		<{/foreach}>
		</ul>
		<br />
		</td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'></td>
		<td class='even'>
			<input type='submit' class='formButton' name='action_admin_opinion_edit_do'  id='poll_submit' value='<{$smarty.const._REGISTER}>' />
			<input type='submit' class='formButton' name='action_admin_opinion_edit'  id='poll_submit' value='<{$smarty.const._BACK}>' /></td>
	</tr>
</table>
</form>
